﻿/**
 * @version 3 11 February 2013
 * @author Myhaylo Kotsyuruba
 */

public class TestApp {
    public static void main(String[] args) {
        TestStore myTestStore = new TestStore();
        Test test = myTestStore.getTest();
        
        User user = new User(test.clone());
        user.getTested();
        
        Estimator estimator = new Estimator();
        estimator.setCorrectAnswers(test.getCorrectAnswers());
        estimator.evaluate(user.getAnswerMap());
        
        user.showResault();
    }
}
